package com.jw.bean;

import com.jw.model.SysPermission;
import com.jw.model.SysRole;
import com.jw.model.SysUser;
import lombok.Data;

import java.util.List;

/**
 * @Author jiangwang
 * @Created by 2021/9/26 18:45
 * @Description: TODO
 */
@Data
public class CurrentUser
{
    //当前登录用户
    private SysUser userInfo;

    //当前用户所拥有的角色
    private List<SysRole> roles;

    //当前用户所拥有得权限
    private List<SysPermission> permissions;

}
